﻿
namespace Unity.Game.ElisAdvance.MonsterAIScript
{
    public class TestMonsterScript
    {
        private EnemyAI ai;

        public TestMonsterScript(EnemyAI ai)
        {
            this.ai = ai;
        }

        public float thinkTerm()
        {
            return 0.5f;
        }

        public float moveEvent()
        {
            return -1;
        }

        public float action()
        {
            if (ai.isRest())
                return -1.0f;

            return -1.0f;
        }


    }

}